package com.gec.entity;

/**
 * 1实体类 跟数据表是一一对应的  用来存放查询出来数据
 * @author Administrator
 *
 */
public class Book {
    
    public Integer id;
    public String name;
    public String author;
    public String price;
    
    public Integer getId() {
        return id;
    }
    public String getName() {
        return name;
    }
    public String getAuthor() {
        return author;
    }
    public String getPrice() {
        return price;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public void setName(String name) {
        this.name = name;
    }
    public void setAuthor(String author) {
        this.author = author;
    }
    public void setPrice(String price) {
        this.price = price;
    }
    @Override
    public String toString() {
	return "Book [id=" + id + ", name=" + name + ", author=" + author + ", price=" + price + "]";
    }
    
    

}
